/*
 *
 * Copyright 2017-2018. All rights reserved.
 *
 * This copyrighted material is made available to anyone wishing to use, modify,
 * copy, or redistribute it subject to the terms and conditions of the GNU
 * Lesser General Public License, as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this distribution; if not, see <http://www.gnu.org/licenses/>.
 *
 */
package com.loveprogrammer.eternity.enums;

import com.loveprogrammer.eternity.model.product.things.Pieces;

/**
 * 种族
 *
 * @author eric
 * @version 1.0.0
 */
public enum ThingsTypeEnum {
    /**
     * 宠物碎片，用来升星
     **/
    PIECES(1, "pieces", "com.loveprogrammer.eternity.model.product.things.Pieces"),
    /**
     * 宝石，用来镶嵌
     **/
    GEM(2, "gem",""),
    /**
     * 任务物品
     **/
    TASK(3, "task","");

    private Integer code;

    private String desc;

    private String clazz;

    ThingsTypeEnum(Integer code, String desc,String clazz) {
        this.code = code;
        this.desc = desc;
        this.clazz = clazz;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
